package com.nl.controller.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.nl.controller.common.model.Response;
import com.nl.controller.common.util.ResponseUtil;
import com.nl.controller.web.service.SmsInterfaceService;

import lombok.extern.slf4j.Slf4j;

@RestController
@Slf4j
@RequestMapping("SmsInterface")
public class SmsInterfaceController {
	
	@Autowired
	private SmsInterfaceService smsInterfaceService;
	@RequestMapping("xz")
	public Response XZInterface(){
		String xzTransferMsisdn = smsInterfaceService.xzTransferMsisdn();
		return ResponseUtil.sucess(xzTransferMsisdn);
	}
}
